package org.cug.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ForeignClass {
    @Schema(description = "主键id", example = "1")
    private Integer id;

    @Schema(description = "课程名称", example = "English Literature")
    private String courseName;

    @Schema(description = "课程类型", example = "1")
    private Float classKind;

    @Schema(description = "班级名称", example = "Advanced English")
    private String className;

    @Schema(description = "上课时长", example = "40")
    private Integer classHours;

    @Schema(description = "学期", example = "1")
    private Integer semester;

    @Schema(description = "用户id", example = "1001")
    private Integer userId;
}